#include "ship.h"

Ship::Ship(const double velocity, const double angleVelocity, const double drift,
		   const ShipCoord& coords)
: length(25.0)
, width(9.0)
, displacement(170000.0)
, draught(1.9)
, velocity(velocity)
, angleVelocity(angleVelocity)
, drift(drift)
, coords(coords)
, Xp(0.0)
, R(0.0)
, q(0.0)
, F(50.0)
{
	mass = RHO * displacement;
	Jz = mass * (length * length + width * width) / 12.0;
}